import "@native/scss/app.scss";
//引入模拟设备
import {Device} from "@native/core/device/device";
import {Application} from "@native/core/application/application";
import {Home} from "@native/pages/home/home";

window.onload = () => {

    //初始化设备
    const device=new Device();
    const app=new Application();
    const homePage=new Home();
    app.initRootView(homePage)

    device.open(app);
}


